//out: ../css/index.css
@import "./base";

@vw: 3.75vw;

body {
  background-color: #f9fafb;
}
header {
  width: 100%;
  height: (50 / @vw);
  background-color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 (15 / @vw) 0 0;
  img {
    width: (235 / @vw);
    height: (50 / @vw);
  }
  a {
    background-color: #fae451;
    width: (80 / @vw);
    height: (30 / @vw);
    text-align: center;
    line-height: (30 / @vw);
    border-radius: (15 / @vw);
    font-size: (14 / @vw);
  }
}

.search {
  margin-top: (55 / @vw);
  height: (32 / @vw);
  padding: (10 / @vw) (15 / @vw);
  .hotTxt {
    width: 100%;

    text-align: center;
    background-color: #f2f4f5;
    border-radius: (16 / @vw);
    line-height: (32 / @vw);
    color: #a1a4b3;
    font-size: (14 / @vw);
  }

  .iconfont {
    width: 100%;
    color: #a1a4b3;
    font-size: (16 / @vw);
  }
}

.download {
  width: (345 / @vw);
  background-color: #fff;
  height: (45 / @vw);
  border-radius: (22 / @vw);
  padding: 0 (10 / @vw) 0 (15 / @vw);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  left: (15 / @vw);
  bottom: (30 / @vw);
  .logo {
    display: flex;
    align-items: center;
    img {
      width: (36 / @vw);
      height: (36 / @vw);
    }
    p {
      margin-left: 10px;
      font-size: (14 / @vw);
    }
  }
  .icon-right {
    width: (32 / @vw);
    height: (32 / @vw);
    line-height: (32 / @vw);
  }
}

.banner {
  margin-top: (20 / @vw);
  margin-bottom: (16 / @vw);
  overflow: hidden;
  ul {
    display: flex;
    li {
      width: 100%;
      padding: 0 (15 / @vw);

      height: (108 / @vw);
      img {
        width: (345 / @vw);
        height: (108 / @vw);
        border-radius: (5 / @vw);
      }
    }
  }
}

.list {
  padding: 0 (10 / @vw) 0 (15 / @vw);

  .content {
    li {
      background-color: #fff;
      width: (345 / @vw);
      height: (105 / @vw);
      border-radius: (10 / @vw);
      display: flex;
      align-items: center;
      margin-bottom: (16 / @vw);
      .pic img {
        width: (105 / @vw);
        height: (105 / @vw);
        margin-right: (15 / @vw);
        border-radius: (10 / @vw);
      }
      .txt {
        display: flex;
        flex-direction: column;
        font-size: (12 / @vw);
        .more {
          line-height: (28.8 / @vw);
          font-size: (14 / @vw);
          color: #333;
        }
        a {
          color: #a1a4b3;
          line-height: (21.6 / @vw);
        }
      }
    }
  }
}

.recommend {
  padding: 0 (10 / @vw) (15 / @vw) (15 / @vw);
  .content {
    ul {
      width: (345 / @vw);
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      li {
        width: (105 / @vw);
        margin-bottom: (16 / @vw);
      }
      .pic {
        position: relative;
        width: (105 / @vw);
        height: (105 / @vw);
        img {
          width: (105 / @vw);
          height: (105 / @vw);
          border-radius: (10 / @vw);
        }
        .cover {
          width: (70 / @vw);
          height: (28 / @vw);
          position: absolute;
          left: 0;
          bottom: 0;
          background-color: rgba(0, 0, 0, 0.8);
          color: #fff;
          font-size: (14 / @vw);
          border-radius: 0 (10 / @vw) 0 (10 / @vw);
          text-align: center;
          line-height: (28 / @vw);
        }
      }

      .txt {
        width: (105 / @vw);
        display: flex;
        flex-wrap: wrap;
        font-size: (14 / @vw);
      }
    }
  }
}
.title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: (16 / @vw);

  h4 {
    color: #000;
    font-size: (20 / @vw);
  }
  a {
    font-size: (12 / @vw);
    color: #999;
    .icon-right {
      font-size: (14 / @vw);
    }
  }
}
